#! /bin/sh

# fixes date issue after WNRO on TomTom Rider 2013 (K4/v4/v5)
/mnt/sdcard/fixdate/resetgps &

# for non-MiniLog users
/bin/ttn &

# for MiniLog users
#FOUND=0
#for BASEDIR in /mnt/*; do
#  [ -f "$BASEDIR"/ttninit/bin/ttninit ] && FOUND=1 break
#done

#([ $FOUND = 1 ] && "$BASEDIR"/ttninit/bin/ttninit "$BASEDIR") || (sync && reboot)
